#pragma once

class CPolyfitFun
{
public:
	CPolyfitFun(void);
public:
	~CPolyfitFun(void);

public:
	void Polyfit_Fun(SV_DAT &fData, int nOrder, int nDataCnt);
	void Polyfit_Fun_Wave(WS_DAT &fData, int nOrder, int nDataCnt, int nBaseLine);
	void Filtering(WS_DAT &fData, int nLgth = WAVE_LGTH, bool bEnforce = false);
};
